dict1={"张三":18,"王五":20,"赵六":19}

#遍历字典的键
for key in dict1.keys():
    print(key,end="\t")
print()
#遍历字典的值
for value in dict1.values():
    print(value,end="\t")
print()
#遍历字典的元素
for item in dict1.items():
    print(item,end="\t")
print()
#遍历字典的键值对
for key,value in dict1.items():
    print(f"{key}={value}",end="\t")